package cn.com.headfree.server.dto;

public class ScpFile implements Comparable<ScpFile> {

	private long fileSize;

	private String fileName;

	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public ScpFile(String fileName, long fileSize) {
		super();
		this.fileSize = fileSize;
		this.fileName = fileName;
	}

	@Override
	public int compareTo(ScpFile o) {
		if (o != null) {
			return o.getFileName().compareTo(this.getFileName());
		}
		return 0;
	}

//    @Override
//    public String toString() {
//        return "ScpFile{" +
//                "fileSize='" + fileSize + '\'' +
//                ", fileName='" + fileName + '\'' +
//                ", createTime=" + createTime +
//                ", filePath='" + filePath + '\'' +
//                '}';
//    }
}
